package com.yunyao.dao.mapper;

import com.yunyao.common.dto.InvoiceTypeDto;
import com.yunyao.dao.model.BamuInvoice;
import com.yunyao.dao.model.BamuPaymentContractInvoice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 收款合同发票 Mapper 接口
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface BamuPaymentContractInvoiceMapper extends BaseMapper<BamuPaymentContractInvoice> {
    List<BamuPaymentContractInvoice> getPaymentContractInvoiceByContractId(@Param("contractId") String contractId);
    List<BamuInvoice> findByTypeList(InvoiceTypeDto dto);

}
